/**
  * 描述：
  * @Author rocklee
  * @mail liruoke@163.com
  * @Date 2019/10/26 10:32:47
  */
 import fetch from '@/utils/fetch'

 const CoCompanyApi = {
   getPageList (params) {
     return fetch({
       url: '/api/mallFencing/page',
       method: 'get',
       params: params
     })
   },
   getDetail (id) {
     return fetch({
       url: '/api/mallFencing/' + id,
       method: 'get'
     })
   },
   add (data) {
     return fetch({
       url: '/api/mallFencing',
       method: 'post',
       data: data
     })
   },
   update (id, data) {
     return fetch({
       url: '/api/mallFencing/' + id,
       method: 'put',
       data: data
     })
   },
   del (data) {
     return fetch({
       url: '/api/mallFencing',
       method: 'delete',
       data: data
     })
   }
 }
 export default CoCompanyApi
 